
$(document).ajaxStart(function(){
}).ajaxComplete(function(event,xhr,settings){
	if (xhr) {
		if (xhr.status == 998) {
			window.location.href=xhr.responseText;
		} 
	}
});